package com.xiaodu.acer.phoneplay.di.module;

import com.xiaodu.acer.phoneplay.bean.AppInfo;
import com.xiaodu.acer.phoneplay.data.AppInfoModel;
import com.xiaodu.acer.phoneplay.data.http.ApiService;

import dagger.Module;
import dagger.Provides;

/**
 * @author 小杜
 *         邮箱:m15701207383@163.com
 * @version V1.0
 * @Description: 抽取公共的Model
 * @date 2018/1/9 11:17
 */
@Module
public class AppModelMoudle {

    @Provides
    public AppInfoModel privodeAppInfo(ApiService service) {
        return new AppInfoModel(service);
    }

}
